package br.com.o2solutions.siso.business.impl;

import org.springframework.beans.factory.annotation.Value;

import br.com.o2solutions.core.aop.business.annotation.Business;
import br.com.o2solutions.core.business.BasicBusinessSupport;
import br.com.o2solutions.core.exception.BusinessException;
import br.com.o2solutions.core.integration.repository.DataBaseIntegration;
import br.com.o2solutions.siso.integration.entidade.Contato;

/**
 * Classe responsável por implementar as operações negociais relacionadas ao
 * objeto {@link Contato}.
 * 
 * @author Ivan
 * @since 23/11/2010
 * 
 */

@Business("contatoBusiness")
public class ContatoBusinessImpl extends BasicBusinessSupport<Contato>{
	
	@Override
	@Value("#{contatoDAO}")
	public void setDataBaseIntegration(
			DataBaseIntegration<Contato> dataBaseIntegration) {
			super.setDataBaseIntegration(dataBaseIntegration);
	}
	
	@Override
	public void save(Contato entity) throws BusinessException {
		// TODO Auto-generated method stub
		super.save(entity);
	}
}



 